package com.hertz.alarm.util;

public class ConstantsType {

	public static enum TEAM_TYPE{
		BASKETBALL((byte)1),
		SOCCER((byte)2);
		
		private TEAM_TYPE(byte _code){
			code = _code;
		}
		private final byte code;
		public byte getCode(){
			return code;
		}
	}

	public static enum TEAM_LEAGUE{
		NBA((byte)1);
		private final byte code;
		private TEAM_LEAGUE(byte _code){
			code = _code;
		}
		public byte getCode(){
			return code;
		}
	}
	
	public static enum MATCH_PERIOD{
		UN_PLAY((byte)0),
		FIRST((byte)1),
		SECOND((byte)2),
		THIRD((byte)3),
		FOURTH((byte)4),
		OVERTIME((byte)5),
		DELAY((byte)-2),
		END((byte)-1);
		private MATCH_PERIOD(byte value) {
			this.value = value;
		}
		private byte value;

		public byte getValue() {
			return value;
		}
	}
	
	public static enum MATCH_TYPE {
		pre_game((byte) 0), //季前赛
		reg_game((byte) 1), //常规赛
		playoffs((byte) 2), //季后赛
		final_game((byte)3);//季后赛
		private MATCH_TYPE(byte value) {
			this.value = value;
		}

		private byte value;

		public byte getValue() {
			return value;
		}

	};
	public static enum ALARM_STATUS{
		un_alarm((byte) 0), 
		end_alarm((byte) 1), 
		user_cancel((byte) -1), 
		admin_cancel((byte)-2);
		private ALARM_STATUS(byte value) {
			this.value = value;
		}

		private byte value;

		public byte getValue() {
			return value;
		}
	}
}
